package cn.iocoder.yudao.module.alipay.service.elong;

import cn.iocoder.yudao.module.alipay.dal.dataobject.elong.common.JsonResult;
import cn.iocoder.yudao.module.alipay.dal.dataobject.elong.common.PagerDateResult;
import cn.iocoder.yudao.module.alipay.dal.dataobject.elong.hotel.HotelDetailForListPager;
import cn.iocoder.yudao.module.alipay.dal.dataobject.elong.hotel.HotelDetailRequest;
import cn.iocoder.yudao.module.alipay.dal.dataobject.elong.hotel.HotelDetailViewModel;
import cn.iocoder.yudao.module.alipay.dal.dataobject.elong.hotel.ListPagerRequest;
import cn.iocoder.yudao.module.alipay.dal.dataobject.elong.order.CreateOrderRequest;
import cn.iocoder.yudao.module.alipay.dal.dataobject.elong.pay.PaySubmitRequest;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface ElongHotalService {
    JsonResult<PagerDateResult<HotelDetailForListPager>> getHotelList(ListPagerRequest pagerReq, HttpServletRequest request);

    HotelDetailViewModel getHotelDetail(HotelDetailRequest detailReq, HttpServletRequest request, HttpServletResponse response);

    Map<String,Object> createdOrder(CreateOrderRequest orderRequest, HttpServletRequest request, HttpServletResponse response);

    JsonResult<Boolean> submitOrder(PaySubmitRequest paySubmitReq, HttpServletRequest request);
}
